package com.fengchao.dao;

import com.fengchao.model.OdrOrderItems;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by wangnian on 2016/7/11.
 */
@Mapper
public interface OdrOrderItemsMapper {

    /**
     * 根据订单id查询订单详细
     *
     * @param orderId
     * @return
     */
    @Select("select * from odr_order_items where order_id=#{orderId}")
    List<OdrOrderItems> findByOrderId(Integer orderId);


}
